class Forum < ActiveRecord::Base
  has_many :topics
  has_many :posts
  def to_s
    "<a href=\"/forum/#{id}\">#{name}</a>".html_safe
  end
end